package czy.demo.endpoint;

import org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpoint;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/** 控制器端点 */
@Controller
@ControllerEndpoint(id="controller")
public class DefaultControllerEndpoint {

    @GetMapping
    public String info(){
        return "这是一个控制器端点";
    }
}
